import {request} from '@/utils/api.js';

export function createProject(data) {
	return request("api/ProjectInfo/Create", "post", data);
}

export function updateProject(data) {
	return request("api/ProjectInfo/Update", "post", data);
}

export function getProjectInfo(data) {
	return request("api/ProjectInfo/Get", "post", data);
}

export function deleteProject(data) {
	return request("api/ProjectInfo/Delete?projectId=" + projectId, "post", data);
}

export function finishProject(projectId) {
	return request("api/ProjectInfo/Finish?projectId=" + projectId, "post");
}

